package com.yaodian100.ec.payment.service;

import java.util.Map;

public interface ThirdpartyPaymentService {

	public Map<String, String> alipaySend(String orderId, String alipayType, String bankCode, String token);

	public boolean alipayNotify(Map<String, String> params);

	public boolean alipayReturn(Map<String, String> params);

	public Map<String, String> chinapaySend(String orderId);// 銀聯

	public boolean chinapayNotify(Map<String, String> params);

	public boolean chinapayReturn(Map<String, String> params);

	public Map<String, String> quickmoneySend(String orderId, String bankCode);// 快錢

	public boolean quickmoneyNotify(Map<String, String> params);

	public boolean quickmoneyReturn(Map<String, String> params);

	public Map<String, String> tenpaySend(String orderId, String userIP);// 財付通

	public boolean tenpayReturn(Map<String, String> params);

	public void retry3rdPartyFail();

	/**
	 * 快錢信用卡（一次付清，分期）
	 * 
	 * @param orderId
	 * @param period
	 * @return
	 */
	public Map<String, String> quickmoneyCreditCardSend(String orderId, String period, String bankCode);

	/**
	 * @param params
	 * @return
	 */
	public boolean quickmoneyCreditCardReturn(Map<String, String> params);

	/**
	 * @param params
	 * @return
	 */
	public boolean quickmoneyCreditCardNotify(Map<String, String> params);

	/**
	 * @param orderId
	 * @param period
	 * @param bankCode
	 * @return
	 */
	public boolean isVaildCreditCardSendInfo(String orderId, String period, String bankCode);

	/**
	 * @param orderId
	 * @param tid
	 */
	public String invaildCreditCardNotify(String orderId, String tid);
}
